package com.tm.d8_extends_application;
/**
 * 2024/5/18 Cjj 13:14 继承
 */
public class Test {
    public static void main(String[] args) {
        Teacher t = new Teacher();
        t.setName("小明");
        t.setSkill("Java");
        System.out.println(t.getName());
        System.out.println(t.getSkill());
        t.printInfo();
    }
}
